package com.lcd.ssm.service;

import com.lcd.ssm.domain.Role;
import com.lcd.ssm.page.PageResult;
import com.lcd.ssm.query.RoleQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * lcd  2020/4/30
 * Description:
 */
public interface IRoleService {
    int deleteByPrimaryKey(Long id);
    int insert(Role record);
    Role selectByPrimaryKey(Long id);
    List<Role> selectAll();
    int updateByPrimaryKey(Role record);

    PageResult queryForPage(RoleQueryObject qo);
}
